package com.shzu.mapper;

import com.shzu.pojo.MajorCourseChoose;
import com.shzu.pojo.MajorCourseChooseExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface MajorCourseChooseMapper {
    int countByExample(MajorCourseChooseExample example);

    int deleteByExample(MajorCourseChooseExample example);

    int deleteByPrimaryKey(String mid);

    int insert(MajorCourseChoose record);

    int insertSelective(MajorCourseChoose record);

    List<MajorCourseChoose> selectByExample(MajorCourseChooseExample example);

    MajorCourseChoose selectByPrimaryKey(String mid);

    int updateByExampleSelective(@Param("record") MajorCourseChoose record, @Param("example") MajorCourseChooseExample example);

    int updateByExample(@Param("record") MajorCourseChoose record, @Param("example") MajorCourseChooseExample example);

    int updateByPrimaryKeySelective(MajorCourseChoose record);

    int updateByPrimaryKey(MajorCourseChoose record);
}